package com.heu.blood.storge.exception;

import com.heu.blood.globalExceptionHandler.BaseErrorInfoInterface;

/**
 * 功能描述：血液检验的枚举类
 *
 * @Author: lvyj
 * @Date: 2025/3/11 21:43
 */
public enum BloodVerifyStorgeException implements BaseErrorInfoInterface {
    DUPLICATE_BLOODID("2000","血液id同已检验血液重复");
    BloodVerifyStorgeException(String resultCode,String resultMsg){
        this.resultCode = resultCode;
        this.resultMsg = resultMsg;
    }

    // 错误码
    private final String resultCode;

    // 错误提示
    private final String resultMsg;
    @Override
    public String getResultCode() {
        return resultCode;
    }

    @Override
    public String getResultMsg() {
        return resultMsg;
    }
}
